package com.ruoyi.core.service;

import java.util.List;
import com.ruoyi.core.domain.ActivationCodeDetail;
import com.ruoyi.core.domain.custombean.ActivationCodeDetailQueryResult;
import com.ruoyi.core.vo.ActivationCodeDetailUpdateOperationVO;

/**
 * core_detailService接口
 * 
 * @author ruoyi
 * @date 2020-09-28
 */
public interface IActivationCodeDetailService 
{
    /**
     * 查询core_detail
     * 
     * @param id core_detailID
     * @return core_detail
     */
    public ActivationCodeDetail selectActivationCodeDetailById(Long id);

    /**
     * 查询core_detail列表
     * 
     * @param activationCodeDetail core_detail
     * @return core_detail集合
     */
    public List<ActivationCodeDetail> selectActivationCodeDetailList(ActivationCodeDetail activationCodeDetail);

    /**
     * 新增core_detail
     * 
     * @param activationCodeDetail core_detail
     * @return 结果
     */
    public int insertActivationCodeDetail(ActivationCodeDetail activationCodeDetail);

    /**
     * 修改core_detail
     * 
     * @param activationCodeDetail core_detail
     * @return 结果
     */
    public int updateActivationCodeDetail(ActivationCodeDetail activationCodeDetail);

    /**
     * 批量删除core_detail
     * 
     * @param ids 需要删除的core_detailID
     * @return 结果
     */
    public int deleteActivationCodeDetailByIds(Long[] ids);

    /**
     * 删除core_detail信息
     * 
     * @param id core_detailID
     * @return 结果
     */
    public int deleteActivationCodeDetailById(Long id);

    List<ActivationCodeDetailQueryResult> findByBatchId(Long batchId);

    Boolean batchEdit(List<ActivationCodeDetailUpdateOperationVO> activationCodeDetails);

    List<ActivationCodeDetailQueryResult> findByIdSet(Long[] ids);
}
